<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>多级菜单演示demo</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <nav class="menu-wrapper">
        <li class="caret caret1">
            <a>菜单一</a>
            <ul class="sub-menu-1 none">
                <li><a>菜单1</a></li>
                <li class="caret caret2">
                    <a>菜单1</a>
                    <ul class="sub-menu-2 none">
                        <li><a>菜单1</a></li>
                        <li><a>菜单1</a></li>
                        <li class="caret caret2">
                            <a>菜单1</a>
                            <ul class="sub-menu-2 none">
                                <li><a>菜单1</a></li>
                                <li><a>菜单1</a></li>
                                <li><a>菜单1</a></li>
                                <li><a>菜单1</a></li>
                            </ul>
                        </li>
                        <li><a>菜单1</a></li>
                        <li><a>菜单1</a></li>
                    </ul>
                </li>
                <li><a>菜单1</a></li>
            </ul>
        </li>
        <li class="caret caret1">
            <a>菜单二</a>
            <ul class="sub-menu-1 none">
                <li><a>菜单1</a></li>
                <li><a>菜单1</a></li>
                <li><a>菜单1</a></li>
            </ul>
        </li>
        <li>
            <a>菜单三</a>
        </li>
        <li>
            <a>菜单四</a>
        </li>
    </nav>
    <script src="menu.js"></script>
</body>
</html>